package com.typhoon.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户信息数据传输类
 *
 * @author Typhoon
 *
 */
public class UserDto implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 3059861301424720410L;

    /**
     * id
     */
    private  Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 创建时间
     */
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("UserDto [id=");
        builder.append(id);
        builder.append(", name=");
        builder.append(name);
        builder.append(", createTime=");
        builder.append(createTime);
        builder.append("]");
        return builder.toString();
    }
}
